<?php
class CF_DataListerPDO{

	var $filters;

	function set_filters($filters){
		$this->filters = $filters;
	}

	
	function GetDataList($rawquery){
			$slickempFiltering = new CF_FilterDataPdo($this->filters);
			global $dbh;

			$qry_list = $rawquery ;

			$qry_list .=  $slickempFiltering->make_query_PSfilter();	


			//$qry_list .= $slickempHeading->make_query_sort();	
			//$qry_list = limit_query($qry_list, $slickempPaging->startat, $slickempPaging->numrows );
			//$qry_list = limit_query($qry_list, 2, 5 );
		
		
			global $dbh;
			$stmt = $dbh->prepare($qry_list);	

			$slickempFiltering->make_PSfilter_bindings($stmt);
		//	$proc->flt->make_PSfilter_bindings($stmt);
		
			$list = get_array_stmt($stmt);	
			return $list;
		}

}


?>